package com.gimi.cloud.jimi.dao.dao.product;


import com.gimi.cloud.jimi.dao.dao.sys.BaseDao;
import com.gimi.cloud.jimi.dao.myMapper.MyMapper;
import com.gimi.cloud.jimi.dao.myMapper.core.query.QueryParam;
import com.gimi.cloud.jimi.dao.myMapper.core.query.QueryParamProvider;
import com.gimi.cloud.jimi.dto.product.SecurityInstructionsDTO;
import com.gimi.cloud.jimi.entity.product.SecurityInstructionsEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;

/**
 * @auther loongs
 * @date 2018/1/29  15:07
 */
@Mapper
public interface SecurityInstructionsDao extends MyMapper<SecurityInstructionsEntity>, BaseDao<SecurityInstructionsEntity, SecurityInstructionsDTO> {

    @SelectProvider(type = QueryParamProvider.class, method = "selectListBySql")
    List<SecurityInstructionsDTO> getSecurityInstructionsPageList(QueryParam queryParam);
}
